package foo.bar.forum.domain;

import java.util.Date;

/**
 * Interface providing contract a domain object should implements if it wants its modification info eg.
 * <ul>
 *  <li>modification date</li>
 *  <li>modifier</li>
 * </ul>
 * to be captured.
 *
 * @See {@link foo.bar.forum.domain.EntityAuditListener}
 *
 * @author tmjee
 * @version $Date$ $Id$
 */
public interface ModificationInfoPersistable {

    void setModificationDate(Date modificationDate);
    Date getModificationDate();

    void setModifier(User modifier);
    User getModifier();

}

